// 'messages': { // 消息列表
//   path: '/pages/Messages/index',
//   type: 'tabPage', // 页面类型, tabPage, miniPage, miniProgram, h5
//   needLogin: true, // 是否需要登录
//   pathParams: {id:5}, // /pages/Messages/index?id=5
// },
const pages = {
  'entry': { // 入口
    path: '/pages/Entry',
    type: 'miniPage',
    needLogin: false,
  },
  'home': { // 主页
    path: '/pages/Home/index',
    type: 'tabPage',
    needLogin: false,
  },
  'myPage': { // 个人中心
    path: '/pages/User/index',
    type: 'tabPage',
    needLogin: true,
  },
}
const project = {
  'projects': { // 项目列表页
    path: '/packages/Project/Projects/index',
    type: 'miniPage',
    needLogin: true,
  },
  'project': { // 项目详情
    path: '/packages/Project/Detail/index',
    type: 'miniPage',
    needLogin: true,
  },
  'myProjects': { // 我的项目
    path: '/packages/Project/MyProjects/index',
    type: 'miniPage',
    needLogin: true,
  },
  'projectCreate': { // 创建项目
    path: '/packages/Project/EditProject/Create/index',
    type: 'miniPage',
    needLogin: true,
  },
  'projectUpdate': { // 编辑，更新项目
    path: '/packages/Project/EditProject/Update/index',
    type: 'miniPage',
    needLogin: true,
  },
  'projectSearch': { // 项目搜索页
    path: '/packages/Project/Search/index',
    type: 'miniPage',
    needLogin: true,
  },
  'projectSearchResult': { // 项目搜索结果
    path: '/packages/Project/SearchResult/index',
    type: 'miniPage',
    needLogin: true,
  },
  'projectFileReview': { // 预览文件
    path: '/packages/Project/PreviewFile/index',
    type: 'miniPage',
    needLogin: true,
  },
  'projectPurchased': { // 已购项目
    path: '/packages/Project/Purchased/index',
    type: 'miniPage',
    needLogin: true,
  },
}
const user = {
  'login': { // 登录页
    path: '/packages/User/Login/index',
    type: 'miniPage',
    needLogin: true,
  },
  'userGuide': { // 基本信息引导
    path: '/packages/User/Guide/index',
    type: 'miniPage',
    needLogin: true,
  },
  'userHome': { // 用户主页
    path: '/packages/User/UserHome/index',
    type: 'miniPage',
    needLogin: true,
  },
  'userList': { // 用户列表
    path: '/packages/User/UserList/index',
    type: 'miniPage',
    needLogin: true,
  },
  'myInfo': { // 我的信息设置
    path: '/packages/User/MyInfo/index',
    type: 'miniPage',
    needLogin: true,
  },
  'myCollection': { // 我的收藏列表
    path: '/packages/User/MyCollection/index',
    type: 'miniPage',
    needLogin: true,
  },
  'myWallet': { // 我的钱包
    path: '/packages/User/Wallet/index',
    type: 'miniPage',
    needLogin: true,
  },
  'userFeedback': { // 问题反馈
    path: '/packages/User/Feedback/Submit',
    type: 'miniPage',
    needLogin: true,
  },
  'myFeedback': { // 我的反馈
    path: '/packages/User/Feedback/MyFeedback',
    type: 'miniPage',
    needLogin: true,
  },
  'myHistory': { // 我的历史浏览记录
    path: '/packages/User/History/index',
    type: 'miniPage',
    needLogin: true,
  },
}
const message = {
  'systemInform': { // 系统通知
    path: '/packages/Message/SystemInform/index',
    type: 'miniPage',
    needLogin: true,
  },
}
const resume = {
  'resume': { // 我的简历
    path: '/packages/Resume/Resume',
    type: 'miniPage',
    needLogin: true,
  },
  'resumePreview': { // 简历预览
    path: '/packages/Resume/ResumePreview',
    type: 'miniPage',
    needLogin: true,
  },
  'resumeBasicInfo': { // 简历-基本信息
    path: '/packages/Resume/components/BaseInfo',
    type: 'miniPage',
    needLogin: true,
  },
  'resumeEducation': { // 简历-教育信息
    path: '/packages/Resume/components/EduExperience',
    type: 'miniPage',
    needLogin: true,
  },
  'resumeHonors': { //  简历-荣誉信息
    path: '/packages/Resume/components/Honors',
    type: 'miniPage',
    needLogin: true,
  },
  'resumePracticeExperience': { //  简历-实习经历
    path: '/packages/Resume/components/PracticeExperience',
    type: 'miniPage',
    needLogin: true,
  },
  'resumeProjectExperience': { //  简历-项目经历
    path: '/packages/Resume/components/ProjectExperience',
    type: 'miniPage',
    needLogin: true,
  },
  'resumeSchoolExperience': { //  简历-校园经历
    path: '/packages/Resume/components/SchoolExperience',
    type: 'miniPage',
    needLogin: true,
  },
  'resumeSelfIntro': { //  简历-个人描述
    path: '/packages/Resume/components/SelfIntro',
    type: 'miniPage',
    needLogin: true,
  },
  'resumeSkill': { //  简历-个人技能
    path: '/packages/Resume/components/Skill',
    type: 'miniPage',
    needLogin: true,
  },
}
const consult = {
  'consultList': { // 咨询列表
    path: '/packages/Consult/List/index',
    type: 'miniPage',
    needLogin: true,
  },
  'consultDetail': { // 咨询详情
    path: '/packages/Consult/Detail/index',
    type: 'miniPage',
    needLogin: true,
  },
  'consultCommentList': { // 咨询评价列表
    path: '/packages/Consult/CommentList/index',
    type: 'miniPage',
    needLogin: true,
  },
  'consultPay': { // 咨询付款
    path: '/packages/Consult/Process/Pay/index',
    type: 'miniPage',
    needLogin: true,
  },
  'consultQuestion': { // 咨询问题填写
    path: '/packages/Consult/Process/Question/index',
    type: 'miniPage',
    needLogin: true,
  },
  'consultMeeting': { // 咨询会议信息
    path: '/packages/Consult/Process/Meeting/index',
    type: 'miniPage',
    needLogin: true,
  },
  'consultComment': { // 咨询评价
    path: '/packages/Consult/Process/Comment/index',
    type: 'miniPage',
    needLogin: true,
  },
}
const competition = {
  'competitionList': { // 竞赛列表
    path: '/packages/Competition/List/index',
    type: 'miniPage',
    needLogin: true,
  },
}
const system = {
  'agreement': { // 服务协议
    path: '/packages/System/Agreement/index',
    type: 'miniPage',
    needLogin: false,
  },
  'contract': { // 合同
    path: '/packages/System/Contract/index',
    type: 'miniPage',
    needLogin: false,
  },
  'privacyPolicy': { // 隐私政策
    path: '/packages/System/PrivacyPolicy/index',
    type: 'miniPage',
    needLogin: false,
  },
  'richText': { // 富文本阅读器
    path: '/packages/System/RichText/index',
    type: 'miniPage',
    needLogin: false,
  },
  'mdEdit': { // md编辑器
    path: '/packages/System/EditMd/EditMd',
    type: 'miniPage',
    needLogin: false,
  },
  'setting': { // 设置页
    path: '/packages/System/Setting/index',
    type: 'miniPage',
    needLogin: true,
  },
  'webview': { // h5页
    path: '/packages/System/WebView/index',
    type: 'h5',
  },
  'ahaPointExplain': { // aha点说明
    path: '/packages/System/AhaPointExplain/index',
    type: 'miniPage',
    needLogin: false,
  },
}

export default { // 启动页面配置
  ...pages,
  ...project,
  ...user,
  ...message,
  ...resume,
  ...consult,
  ...competition,
  ...system,
  'questionnaire': { // 问卷星
    appId: 'wxd947200f82267e58',
    type: 'miniProgram',
  },
}
